//
// Created by Zhangwj on 2023/9/26.
//

#ifndef COMPILE_TASK2_EXPNODE_H
#define COMPILE_TASK2_EXPNODE_H


#include "SyntaxTreeNode.h"
#include "../Parser.h"
#include "AddExpNode.h"

class ExpNode : public SyntaxTreeNode {
public:
    //Exp → AddExp
    std::unique_ptr<AddExpNode> AddExp;

    static std::unique_ptr<ExpNode> ExpParser(Parser &parser);
};


#endif //COMPILE_TASK2_EXPNODE_H
